package com.pm.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pm.common.annotation.Excel;
import com.pm.common.core.domain.BaseEntity;

/**
 * 证书管理对象 person_certificate
 * 
 * @author zxl
 * @date 2022-05-06
 */
public class PersonCertificate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 证书ID */
    private Long certificateId;

    /** 项目人员ID */
    private Long personId;

    /** 人员名称 */
    @Excel(name = "人员名称")
    private String personName;

    /** 证书字典值 */
    @Excel(name = "证书字典值")
    private String certificateDic;

    /** 证书名称 */
    @Excel(name = "证书名称")
    private String certificateName;

    /** 签发日期（年-月-日） */
    @Excel(name = "签发日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issueDate;

    /** 有效日期（年-月-日） */
    @Excel(name = "有效日期",width = 30, dateFormat = "yyyy-MM-dd")
    private Date expirationDate;

    /** 证书图片 */
    private String imagePath;

    public void setCertificateId(Long certificateId) 
    {
        this.certificateId = certificateId;
    }

    public Long getCertificateId() 
    {
        return certificateId;
    }
    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }
    public void setPersonName(String personName) 
    {
        this.personName = personName;
    }

    public String getPersonName() 
    {
        return personName;
    }


    public void setCertificateDic(String certificateDic)
    {
        this.certificateDic = certificateDic;
    }
    public String getCertificateDic()
    {
        return certificateDic;
    }

    public void setCertificateName(String certificateName)
    {
        this.certificateName = certificateName;
    }

    public String getCertificateName() 
    {
        return certificateName;
    }
    public void setIssueDate(Date issueDate) 
    {
        this.issueDate = issueDate;
    }

    public Date getIssueDate() 
    {
        return issueDate;
    }
    public void setExpirationDate(Date expirationDate) 
    {
        this.expirationDate = expirationDate;
    }

    public Date getExpirationDate() 
    {
        return expirationDate;
    }
    public void setImagePath(String imagePath) 
    {
        this.imagePath = imagePath;
    }

    public String getImagePath() 
    {
        return imagePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("certificateId", getCertificateId())
            .append("personId", getPersonId())
            .append("personName", getPersonName())
            .append("certificateName", getCertificateName())
            .append("issueDate", getIssueDate())
            .append("expirationDate", getExpirationDate())
            .append("imagePath", getImagePath())
            .toString();
    }
}
